package com.niiwoo.civet.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.ImportResource;

/**
 * Created by zhangwanli on 2017/9/20.
 */
@SpringBootApplication
@ImportResource("classpath:users-provider.xml")
@MapperScan("com.niiwoo.civet.user.dao.mapper")
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
public class UserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class, args);
        com.alibaba.dubbo.container.Main.main(args);
    }

}
